package com.retirement.csd.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.retirement.common.annotation.Excel;
import com.retirement.common.core.domain.BaseEntity;

/**
 * 健康信息对象 ods_health
 *
 * @author ruoyi
 * @date 2024-03-13
 */
public class OdsHealth extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 用户id */
//    @Excel(name = "用户id")
    private Long userId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String userName;

    /** 记录日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recordDate;

    /** 收缩压 */
    @Excel(name = "收缩压")
    private String bloodPressureSystolic;

    /** 舒张压 */
    @Excel(name = "舒张压")
    private String bloodPressureDiastolic;

    /** 心率 */
    @Excel(name = "心率")
    private Long heartRate;

    /** 体温 */
    @Excel(name = "体温")
    private Double bodyTemperature;

    /** 血糖值 */
    @Excel(name = "血糖值")
    private Double bloodGlucoseLevel;

    /** 血氧饱和度 */
    @Excel(name = "血氧饱和度")
    private Long oxygenSaturation;

    /** 体重 */
    @Excel(name = "体重")
    private Long weight;

    /** 身高 */
    @Excel(name = "身高")
    private Long height;

    /** 睡眠时长 */
    @Excel(name = "睡眠时长")
    private Double sleepDuration;

    private String status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setRecordDate(Date recordDate)
    {
        this.recordDate = recordDate;
    }

    public Date getRecordDate()
    {
        return recordDate;
    }
    public void setBloodPressureSystolic(String bloodPressureSystolic)
    {
        this.bloodPressureSystolic = bloodPressureSystolic;
    }

    public String getBloodPressureSystolic()
    {
        return bloodPressureSystolic;
    }
    public void setBloodPressureDiastolic(String bloodPressureDiastolic)
    {
        this.bloodPressureDiastolic = bloodPressureDiastolic;
    }

    public String getBloodPressureDiastolic()
    {
        return bloodPressureDiastolic;
    }
    public void setHeartRate(Long heartRate)
    {
        this.heartRate = heartRate;
    }

    public Long getHeartRate()
    {
        return heartRate;
    }
    public void setBodyTemperature(Double bodyTemperature)
    {
        this.bodyTemperature = bodyTemperature;
    }

    public Double getBodyTemperature()
    {
        return bodyTemperature;
    }

    public Double getBloodGlucoseLevel() {
        return bloodGlucoseLevel;
    }

    public void setBloodGlucoseLevel(Double bloodGlucoseLevel) {
        this.bloodGlucoseLevel = bloodGlucoseLevel;
    }

    public void setOxygenSaturation(Long oxygenSaturation)
    {
        this.oxygenSaturation = oxygenSaturation;
    }

    public Long getOxygenSaturation()
    {
        return oxygenSaturation;
    }
    public void setWeight(Long weight)
    {
        this.weight = weight;
    }

    public Long getWeight()
    {
        return weight;
    }
    public void setHeight(Long height)
    {
        this.height = height;
    }

    public Long getHeight()
    {
        return height;
    }
    public void setSleepDuration(Double sleepDuration)
    {
        this.sleepDuration = sleepDuration;
    }

    public Double getSleepDuration()
    {
        return sleepDuration;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("recordDate", getRecordDate())
            .append("bloodPressureSystolic", getBloodPressureSystolic())
            .append("bloodPressureDiastolic", getBloodPressureDiastolic())
            .append("heartRate", getHeartRate())
            .append("bodyTemperature", getBodyTemperature())
            .append("bloodGlucoseLevel", getBloodGlucoseLevel())
            .append("oxygenSaturation", getOxygenSaturation())
            .append("weight", getWeight())
            .append("height", getHeight())
            .append("sleepDuration", getSleepDuration())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
